CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include_directories(${PROJECT_ROOT})
include_directories(${PROJECT_ROOT}/include)
include_directories(${PROJECT_ROOT}/comn/include)
include_directories(${PROJECT_ROOT}/LitePlayer/include)
include_directories(${THIRD_PARTY}/wtl81/include)

link_directories(${PROJECT_ROOT}/lib)
link_directories(${PROJECT_ROOT}/comn/lib)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4819 /wd4996 /wd4302 /wd4838")

aux_source_directory(. SOURCE)
FILE(GLOB HEADER "*.h")


add_executable(WinLitePlayer WIN32 ${SOURCE} ${HEADER}
    WinLitePlayer.rc
    )


target_link_libraries(WinLitePlayer
	LitePlayer
    debug comnd optimized comn
	)

